package system

import (
	"context"
	"gitee.com/gopher2011/go-zero-gva/internal/svc"
	"github.com/tal-tech/go-zero/core/logx"
)

type System struct {
	logx.Logger
	Ctx    context.Context
	SvcCtx *svc.ServiceContext
}

func NewSystem(ctx context.Context, svcCtx *svc.ServiceContext) *System {
	return &System{
		Logger: logx.WithContext(ctx),
		Ctx:    ctx,
		SvcCtx: svcCtx,
	}
}
